package net.maku.kyy.convert;

import net.maku.kyy.entity.KyyReportEntity;
import net.maku.kyy.vo.KyyReportVO;
import net.maku.kyy.vo.KyyReportExcelVO;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

import java.util.List;

/**
 * 举报信息
 *
 * @author 智 babamu@126.com
 * <a href="https://maku.net">MAKU</a>
 */
@Mapper
public interface KyyReportConvert {
    KyyReportConvert INSTANCE = Mappers.getMapper(KyyReportConvert.class);

    KyyReportEntity convert(KyyReportVO vo);

    KyyReportVO convert(KyyReportEntity entity);

    List<KyyReportVO> convertList(List<KyyReportEntity> list);

    List<KyyReportEntity> convertList2(List<KyyReportVO> list);

    List<KyyReportExcelVO> convertExcelList(List<KyyReportEntity> list);

    List<KyyReportEntity> convertExcelList2(List<KyyReportExcelVO> list);
}